package com.wanmait.model.pojo;

import java.io.Serializable;

/**
    * 流程节点
    */
public class ProcessNode implements Serializable {
    private Integer id;

    /**
    * 流程id
    */
    private Integer processId;

    /**
    * 节点
    */
    private Integer node;

    /**
    * 该节点的操作名
    */
    private String nodeName;

    /**
    * 审批角色_0为无审批角色
    */
    private Integer approvedBy;

    /**
    * 备注
    */
    private String remark;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProcessId() {
        return processId;
    }

    public void setProcessId(Integer processId) {
        this.processId = processId;
    }

    public Integer getNode() {
        return node;
    }

    public void setNode(Integer node) {
        this.node = node;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public Integer getApprovedBy() {
        return approvedBy;
    }

    public void setApprovedBy(Integer approvedBy) {
        this.approvedBy = approvedBy;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", processId=").append(processId);
        sb.append(", node=").append(node);
        sb.append(", nodeName=").append(nodeName);
        sb.append(", approvedBy=").append(approvedBy);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}